/**
 * 
 */
package org.dragonfire.dasm.directives;

import java.util.ArrayList;

import org.dragonfire.dasm.Command;
import org.dragonfire.dasm.Listing;
import org.dragonfire.dasm.DirectiveManager.Directive;

/**
 * <code>#LSFIRST</code> causes the compiler to produce multi-byte outputs
 * least significant byte first. This effects the <code>#DW</code> and
 * <code>#WORD</code> directives.<br />
 * <br />
 * Format: <br />
 * <code>#LSFIRST</code><br />
 * <br />
 * Parameters:<br />
 * <i>None</i> <br />
 * <br />
 * Errors:<br />
 * <i>None</i>
 * 
 * @see org.dragonfire.dasm.directives.Msfirst
 * @see org.dragonfire.dasm.directives.Dw
 * @author Darth Android
 * @version 2.0
 */
public class Lsfirst extends Directive {

	/**
	 * {@inheritDoc}
	 */
	@Override
	public ArrayList<Listing> pass1(Command C) {
		getPreprocessor().setLittleEndian(true);
		return null;
	}
}
